#!/user/bin/env python
# coding:utf-8
from django import template# 自定义过滤器

register = template.Library()


def percent(value):
    return value + "%"


register.filter(percent)
